﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WebService.BusinessEntities
{
    /// <summary>
    /// Encja historii odbytej gry w kasynie
    /// </summary>
    public partial class GameHistory
    {
        public GameHistory()
        {
        }

        /// <summary>
        /// Konstruktor parametrowy encji historii odbytej gry
        /// </summary>
        /// <param name="completion_date">Data ukonczenia gry</param>
        /// <param name="game_id">ID gry</param>
        /// <param name="room_name">Nazwa pokoju</param>
        /// <param name="start_date">Data rozpoczecia gry</param>
        /// <param name="type">Typ zagranej gry</param>
        public GameHistory(System.DateTime completion_date, System.Int32 game_id, System.String room_name, System.DateTime start_date, System.String type)
        {
            this.completion_dateField = completion_date;
            this.game_idField = game_id;
            this.room_nameField = room_name;
            this.start_dateField = start_date;
            this.typeField = type;
        }
        
        private System.DateTime completion_dateField;
        /// <summary>
        /// Data ukonczenia gry
        /// </summary>
        public System.DateTime completion_date
        {
            get { return this.completion_dateField; }
            set { this.completion_dateField = value; }
        }
        
        private System.Int32 game_idField;
        /// <summary>
        /// ID gry
        /// </summary>
        public System.Int32 game_id
        {
            get { return this.game_idField; }
            set { this.game_idField = value; }
        }
        
        private System.String room_nameField;
        /// <summary>
        /// Nazwa pokoju
        /// </summary>
        public System.String room_name
        {
            get { return this.room_nameField; }
            set { this.room_nameField = value; }
        }
        
        private System.DateTime start_dateField;
        /// <summary>
        /// Data rozpoczecia gry
        /// </summary>
        public System.DateTime start_date
        {
            get { return this.start_dateField; }
            set { this.start_dateField = value; }
        }
        
        private System.String typeField;
        /// <summary>
        /// Typ gry
        /// </summary>
        public System.String type
        {
            get { return this.typeField; }
            set { this.typeField = value; }
        }

    }
}

